import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './router'
import App from "@/App";
import HeaderTop from "@/page/pub/Header";
import FooterTop from "@/page/pub/Footer";
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

Vue.use('Vant')
Vue.component("header-view",HeaderTop)
Vue.component("footer-view",FooterTop)
Vue.use(VueRouter)
const router = new VueRouter({
    routes
})


new Vue({
    // store,
    router,
    // eslint-disable-next-line no-undef
    render: h =>h(App)
}).$mount("#app")
